﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ALDIOrganizer.Properties;

namespace ALDIOrganizer
{
    public static class DiscrepanciesExtensions
    {
        public static string StringRepresentation(this Discrepancies pDiscrepancies)
        {
            switch (pDiscrepancies)
            {
                case Discrepancies.None:
                    {
                        return Resources.DISCREPANCIES_None;                        
                    }
                case Discrepancies.Some:
                    {
                        return Resources.DISCREPANCIES_Some;                        
                    }
                default: // NotApplicable
                    {
                        return Resources.DISCREPANCIES_NotApplicable;                        
                    }
            }
        }
    }
}
